✨Add events for automatic certificate rotation in KubeadmControlPlane#13242
✨Add events for automatic certificate rotation in KubeadmControlPlane#13242VijetaPriya47 wants to merge 2 commits intokubernetes-sigs:mainfrom
Conversation
…ated actions in KubeadmControlPlane to improve observability and monitoring. Changes: 1. Added event constants for certificate rotation events 2. Emit events when kubeconfig certificates are automatically rotated 3. Emit double-sided events (on both Machine and KCP) when machines are rolled out due to certificate expiry
|
This PR is currently missing an area label, which is used to identify the modified component when generating release notes. Area labels can be added by org members by writing Please see the labels list for possible areas. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
|
Hi @VijetaPriya47. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
@g-gaston @sivchari @fabriziopandini Could you review this please? |
This commit implements event generation for automatic certificate-related actions in KubeadmControlPlane to improve observability and monitoring.
Events added:
Event pattern:
Following the double-sided event pattern from PR #12930:
This improves observability by allowing operators to:
kubectl get eventsWhich issue(s) this PR fixes
Fixes #11944 (partially - certificate rotation portion)
Note: This PR addresses certificate rotation in KubeadmControlPlane. PR #12930 addresses MachineHealthCheck events.